package com.cy.pj.log.log.service;


import com.cy.pj.log.log.pojo.SysLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@FeignClient("app-log")
public interface RemoteLogService {
       @PostMapping("/log/")
       void saveLog(@RequestBody SysLog sysLog);
}
